﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Sinacor.Service.Infra.AuthorizationService.Service.DataContract.Response
{
	[DataContract]
	public class CompanyResponse
	{
		private Int32 _id;
		private string _name;
		private string _cgc;
        private string _dbInstance;
        private string _dbUser;
        private List<ModuleResponse> _modules;

		[DataMember(IsRequired = false)]
		public Int32 Id
		{
			get { return _id; }
			set { _id = value; }
		}

		[DataMember(IsRequired = false)]
		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}

		[DataMember(IsRequired = false)]
		public string CGC
		{
			get { return _cgc; }
			set { _cgc = value; }
		}

        [DataMember(IsRequired = false)]
        public string DbInstance
        {
            get { return _dbInstance; }
            set { _dbInstance = value; }
        }

        [DataMember(IsRequired = false)]
        public string DbUser
        {
            get { return _dbUser; }
            set { _dbUser = value; }
        }

        [DataMember(IsRequired = false)]
        public List<ModuleResponse> Modules
        {
            get { return _modules; }
            set { _modules = value; }
        }
	}
}